Platform Core .NET Assemblies API
GetByName Method
See Also  Send Feedback
Terrasoft.Core Namespace > ManagerItemCollection<TItem> Class : GetByName Method
name
Name of the collection item to get.

Glossary Item Box

Gets the collection item of the current type with the specified name.

Syntax

 
C#
 
 

Parameters

name
Name of the collection item to get.

Return Value

The collection item of the current type with the name name. If a item with the name name is not found in the collection, an exception is thrown.

Exceptions

ExceptionDescription
Terrasoft.Common.ItemNotFoundExceptionIf an element with the name name is not found in the collection of the manager elements

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.